//
//  LOCommentViewController.m
//  renmingongshe
//
//  Created by macbook on 2017/10/24.
//  Copyright © 2017年 xiaodian. All rights reserved.
//

#import "LOCommentViewController.h"

@interface LOCommentViewController ()

@end

@implementation LOCommentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.titleLabel.text = @"全部评论";
    [self downloadData];
}

- (void)downloadData
{
    [self.view loadingOnAnyView];
    NSDictionary *dic = @{@"userToken":[Utils getUserToken], @"goodsId":@"96", @"page":@"1", @"page_size":@"20"};
    [THWManager PostHttp:API(LOAllCommand) Parameters:dic Success:^(id responseObject) {
        [self.view removeAnyView];
    } andFalse:^(NSError *error) {
        [self.view removeAnyView];
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
